Optimal. Leaf size=437 \[ \frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \cosh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \cosh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \cosh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.76, antiderivative size = 437, normalized size of antiderivative = 1.00, number of steps used = 53, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {3728, 3303, 3298, 3301, 3312, 5448, 5470} \[ \frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (2 x f+\frac {2 c f}{d}\right ) \cosh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (4 x f+\frac {4 c f}{d}\right ) \cosh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {\text {Chi}\left (6 x f+\frac {6 c f}{d}\right ) \cosh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}-\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (2 x f+\frac {2 c f}{d}\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (4 x f+\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (6 x f+\frac {6 c f}{d}\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3298
Rule 3301
Rule 3303
Rule 3312
Rule 3728
Rule 5448
Rule 5470
Rubi steps
\begin {align*} \int \frac {1}{(c+d x) (a+a \coth (e+f x))^3} \, dx &=\int \left (\frac {1}{8 a^3 (c+d x)}-\frac {3 \cosh (2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \cosh ^2(2 e+2 f x)}{8 a^3 (c+d x)}-\frac {\cosh ^3(2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \sinh (2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \cosh ^2(2 e+2 f x) \sinh (2 e+2 f x)}{8 a^3 (c+d x)}+\frac {3 \sinh ^2(2 e+2 f x)}{8 a^3 (c+d x)}+\frac {\sinh ^3(2 e+2 f x)}{8 a^3 (c+d x)}-\frac {3 \sinh (4 e+4 f x)}{8 a^3 (c+d x)}-\frac {3 \sinh (2 e+2 f x) \sinh (4 e+4 f x)}{16 a^3 (c+d x)}\right ) \, dx\\ &=\frac {\log (c+d x)}{8 a^3 d}-\frac {\int \frac {\cosh ^3(2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {\int \frac {\sinh ^3(2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {3 \int \frac {\sinh (2 e+2 f x) \sinh (4 e+4 f x)}{c+d x} \, dx}{16 a^3}-\frac {3 \int \frac {\cosh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\cosh ^2(2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\sinh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\cosh ^2(2 e+2 f x) \sinh (2 e+2 f x)}{c+d x} \, dx}{8 a^3}+\frac {3 \int \frac {\sinh ^2(2 e+2 f x)}{c+d x} \, dx}{8 a^3}-\frac {3 \int \frac {\sinh (4 e+4 f x)}{c+d x} \, dx}{8 a^3}\\ &=\frac {\log (c+d x)}{8 a^3 d}+\frac {i \int \left (\frac {3 i \sinh (2 e+2 f x)}{4 (c+d x)}-\frac {i \sinh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}-\frac {\int \left (\frac {3 \cosh (2 e+2 f x)}{4 (c+d x)}+\frac {\cosh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}-\frac {3 \int \left (-\frac {\cosh (2 e+2 f x)}{2 (c+d x)}+\frac {\cosh (6 e+6 f x)}{2 (c+d x)}\right ) \, dx}{16 a^3}-\frac {3 \int \left (\frac {1}{2 (c+d x)}-\frac {\cosh (4 e+4 f x)}{2 (c+d x)}\right ) \, dx}{8 a^3}+\frac {3 \int \left (\frac {1}{2 (c+d x)}+\frac {\cosh (4 e+4 f x)}{2 (c+d x)}\right ) \, dx}{8 a^3}+\frac {3 \int \left (\frac {\sinh (2 e+2 f x)}{4 (c+d x)}+\frac {\sinh (6 e+6 f x)}{4 (c+d x)}\right ) \, dx}{8 a^3}-\frac {\left (3 \cosh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \cosh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}+\frac {\left (3 \cosh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \sinh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{8 a^3}+\frac {\left (3 \sinh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}-\frac {\left (3 \sinh \left (2 e-\frac {2 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {2 c f}{d}+2 f x\right )}{c+d x} \, dx}{8 a^3}\\ &=-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}-\frac {\int \frac {\cosh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}+\frac {\int \frac {\sinh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}-\frac {3 \int \frac {\cosh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}+\frac {3 \int \frac {\sinh (6 e+6 f x)}{c+d x} \, dx}{32 a^3}+2 \frac {3 \int \frac {\cosh (4 e+4 f x)}{c+d x} \, dx}{16 a^3}\\ &=-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\left (3 \cosh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\left (3 \cosh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+\frac {\left (3 \sinh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}-\frac {\left (3 \sinh \left (6 e-\frac {6 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {6 c f}{d}+6 f x\right )}{c+d x} \, dx}{32 a^3}+2 \left (\frac {\left (3 \cosh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\cosh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{16 a^3}+\frac {\left (3 \sinh \left (4 e-\frac {4 c f}{d}\right )\right ) \int \frac {\sinh \left (\frac {4 c f}{d}+4 f x\right )}{c+d x} \, dx}{16 a^3}\right )\\ &=-\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Chi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Chi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}+\frac {\log (c+d x)}{8 a^3 d}+\frac {\text {Chi}\left (\frac {6 c f}{d}+6 f x\right ) \sinh \left (6 e-\frac {6 c f}{d}\right )}{8 a^3 d}-\frac {3 \text {Chi}\left (\frac {4 c f}{d}+4 f x\right ) \sinh \left (4 e-\frac {4 c f}{d}\right )}{8 a^3 d}+\frac {3 \text {Chi}\left (\frac {2 c f}{d}+2 f x\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )}{8 a^3 d}+\frac {3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 c f}{d}+2 f x\right )}{8 a^3 d}-\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{8 a^3 d}+2 \left (\frac {3 \cosh \left (4 e-\frac {4 c f}{d}\right ) \text {Chi}\left (\frac {4 c f}{d}+4 f x\right )}{16 a^3 d}+\frac {3 \sinh \left (4 e-\frac {4 c f}{d}\right ) \text {Shi}\left (\frac {4 c f}{d}+4 f x\right )}{16 a^3 d}\right )+\frac {\cosh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}-\frac {\sinh \left (6 e-\frac {6 c f}{d}\right ) \text {Shi}\left (\frac {6 c f}{d}+6 f x\right )}{8 a^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.71, size = 312, normalized size = 0.71 \[ \frac {\text {csch}^3(e+f x) (\sinh (f x)+\cosh (f x))^3 \left (\left (\sinh \left (e-\frac {4 c f}{d}\right )-\cosh \left (e-\frac {4 c f}{d}\right )\right ) \left (-\text {Chi}\left (\frac {6 f (c+d x)}{d}\right ) \sinh \left (2 e-\frac {2 c f}{d}\right )+\text {Chi}\left (\frac {6 f (c+d x)}{d}\right ) \cosh \left (2 e-\frac {2 c f}{d}\right )+3 \text {Chi}\left (\frac {2 f (c+d x)}{d}\right ) \left (\sinh \left (2 e-\frac {2 c f}{d}\right )+\cosh \left (2 e-\frac {2 c f}{d}\right )\right )-3 \text {Chi}\left (\frac {4 f (c+d x)}{d}\right )-3 \sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 f (c+d x)}{d}\right )+\sinh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {6 f (c+d x)}{d}\right )-3 \cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {2 f (c+d x)}{d}\right )-\cosh \left (2 e-\frac {2 c f}{d}\right ) \text {Shi}\left (\frac {6 f (c+d x)}{d}\right )+3 \text {Shi}\left (\frac {4 f (c+d x)}{d}\right )\right )+\sinh (3 e) \log (f (c+d x))+\cosh (3 e) \log (f (c+d x))\right )}{8 a^3 d (\coth (e+f x)+1)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 195, normalized size = 0.45 \[ -\frac {3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {2 \, {\left (d e - c f\right )}}{d}\right ) - 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {4 \, {\left (d e - c f\right )}}{d}\right ) + {\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) \cosh \left (-\frac {6 \, {\left (d e - c f\right )}}{d}\right ) + 3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {2 \, {\left (d e - c f\right )}}{d}\right ) - 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {4 \, {\left (d e - c f\right )}}{d}\right ) + {\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) \sinh \left (-\frac {6 \, {\left (d e - c f\right )}}{d}\right ) - \log \left (d x + c\right )}{8 \, a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 108, normalized size = 0.25 \[ -\frac {{\left ({\rm Ei}\left (-\frac {6 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (\frac {6 \, c f}{d}\right )} - 3 \, {\rm Ei}\left (-\frac {4 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (\frac {4 \, c f}{d} + 2 \, e\right )} + 3 \, {\rm Ei}\left (-\frac {2 \, {\left (d f x + c f\right )}}{d}\right ) e^{\left (\frac {2 \, c f}{d} + 4 \, e\right )} - e^{\left (6 \, e\right )} \log \left (d x + c\right )\right )} e^{\left (-6 \, e\right )}}{8 \, a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.64, size = 151, normalized size = 0.35 \[ \frac {\ln \left (d x +c \right )}{8 a^{3} d}+\frac {{\mathrm e}^{\frac {6 c f -6 d e}{d}} \Ei \left (1, 6 f x +6 e +\frac {6 c f -6 d e}{d}\right )}{8 a^{3} d}-\frac {3 \,{\mathrm e}^{\frac {4 c f -4 d e}{d}} \Ei \left (1, 4 f x +4 e +\frac {4 c f -4 d e}{d}\right )}{8 a^{3} d}+\frac {3 \,{\mathrm e}^{\frac {2 c f -2 d e}{d}} \Ei \left (1, 2 f x +2 e +\frac {2 c f -2 d e}{d}\right )}{8 a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 4.11, size = 114, normalized size = 0.26 \[ \frac {e^{\left (-6 \, e + \frac {6 \, c f}{d}\right )} E_{1}\left (\frac {6 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} - \frac {3 \, e^{\left (-4 \, e + \frac {4 \, c f}{d}\right )} E_{1}\left (\frac {4 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} + \frac {3 \, e^{\left (-2 \, e + \frac {2 \, c f}{d}\right )} E_{1}\left (\frac {2 \, {\left (d x + c\right )} f}{d}\right )}{8 \, a^{3} d} + \frac {\log \left (d x + c\right )}{8 \, a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {1}{{\left (a+a\,\mathrm {coth}\left (e+f\,x\right )\right )}^3\,\left (c+d\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {1}{c \coth ^{3}{\left (e + f x \right )} + 3 c \coth ^{2}{\left (e + f x \right )} + 3 c \coth {\left (e + f x \right )} + c + d x \coth ^{3}{\left (e + f x \right )} + 3 d x \coth ^{2}{\left (e + f x \right )} + 3 d x \coth {\left (e + f x \right )} + d x}\, dx}{a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________